package tds.model25;
/**
 * @Company 杭州先锋电子技术股份有限公司
 * @ClassName Leader
 * @Description 领导抽象类
 * @author tds
 * @Date 2020/2/7 19:55
 * @version 1.0.0
 */
public abstract class Leader {

    protected String name;

    protected Leader nextLeader;

    public void setNextLeader(Leader nextLeader) {
        this.nextLeader = nextLeader;
    }

    public Leader(String name) {
        this.name = name;
    }

    /**
     * @Description 处理请假请求
     * @param request
     * @return void
     */
    public abstract void handleRequest(LeaveRequest request);
}
